#ifndef TCPENGINE_PLUGIN_H
#define TCPENGINE_PLUGIN_H
#include <QQmlExtensionPlugin>
#include "PanGuPlugin.h"
#include "PluginInfo.h"

class QQmlcomponent;

/**
  * @brief 注册tcpqml插件
  */
class TcpEnginePlugin : public QQmlExtensionPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)

public:
    void registerTypes(const char *uri) override;
};

extern "C"
{
    PANGUPLUGIN_EXPORT PluginInfo* getPluginInfo(QQmlApplicationEngine*);
    PANGUPLUGIN_EXPORT void releasePluginInfo();
}

#endif // TCPENGINE_PLUGIN_H
